package com.xiaochi.auth.application.convert;

import com.xiaochi.auth.application.dto.AuthRolePermissionDTO;
import com.xiaochi.auth.domain.entity.AuthRolePermissionBO;
import com.xiaochi.auth.infra.basic.entity.AuthRolePermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zqx
 * @since 2024/8/29
 */
@Mapper
public interface AuthRolePermissionDTOConverter {

    AuthRolePermissionDTOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionDTOConverter.class);

    AuthRolePermissionBO authRolePermissionDTOToBO(AuthRolePermissionDTO authRolePermissionDTO);
}
